import request from '@/utils/request'
export function getAgentList(data) {
  return request({
    url: '/admin/agent/list',
    method: 'post',
    data
  })
}

export function agentAdd(data) {
  return request({
    url: '/admin/agent/add',
    method: 'post',
    data
  })
}

export function agentFind(data) {
  return request({
    url: '/admin/agent/find',
    method: 'post',
    data
  })
}

export function agentUpdate(data) {
  return request({
    url: '/admin/agent/update',
    method: 'post',
    data
  })
}

export function agentStatus(data) {
  return request({
    url: '/admin/agent/status',
    method: 'post',
    data
  })
}
export function resetPassword(data) {
  return request({
    url: '/admin/agent/reset/password',
    method: 'post',
    data
  })
}
